package com.gxa.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName(value ="accommodation_comments")
@Data
public class AccommodationComments implements Serializable {
    /**
     * 酒店评论ID
     */
    @TableId(type = IdType.AUTO)
    private Integer accommodation_comments_id;


    /**
     * 住宿订单号
     */
    private String accommodation_order_number;



    /**
     * 国家
     */
    private String country;

    /**
     * 住宿名称
     */
    private String accommodation_name;

    /**
     * 住宿类型
     */
    private String accommodation_type;

    /**
     * 用户名
     */
    private String accommodation_username;

    /**
     * 电话号码
     */
    private String telephone_number;

    /**
     * 评论时间
     */
    private Date comments_datetime;

    /**
     * 标签
     */
    private String comments_label;

    /**
     * 评论内容
     */
    private String comment_content;

    /**
     * 用户等级
     */
    private Integer user_level;

    /**
     * 状态(0上架1下架,删除)
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
